package com.module.my.bean

import androidx.annotation.Keep
import com.module.app.bean.IType.ISex
import com.contrarywind.interfaces.IPickerViewData

@Keep
data class UserSexBean(
    @ISex var sex: Int,
    var name: String?
) : IPickerViewData {

    constructor() : this(ISex.male, null)

    override fun getPickerViewText(): String {
        return name ?: ""
    }
}